(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <stdio.h>
int ferror()
SYNOPSIS
FILE * stream
FUNCTION
Test the error flag of a stream. This flag is set automatically by any function that detects an error. To clear it, call clearerr().
INPUTS
stream
The stream to be tested.
RESULT
!= 0, if the stream had an error, 0 otherwise.
NOTES
EXAMPLE
BUGS
SEE ALSO
ferror()
,
clearerr()
INTERNALS
HISTORY
17.01.1997 digulla
New functions: fopen(), fclose(), fgets(), ferror(), clearerr(), fread(), fwrite(), getchar(), gets()